package com.itany.corejava.day17;

//需要ObjectFactory创建对象名字叫做userService
//@Component("userService")
@Component
public class UserServiceImpl implements UserService {
    @Override
    public void regist() {
        System.out.println("用户注册");
    }

    @Override
    public void login() {
        System.out.println("用户登录");
    }
}
